package com.cheneyjoo.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 试卷
 */
public class Exam implements Serializable {
    private static final long serialVersionUID = -2709125316756179069L;
    private int id;
    private String categoryName;
    private String examName;
    private int status;
    private List<Question> questions=new ArrayList<>();

    public Exam() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<Question> getQuestions() {
        return questions;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }
}
